let list1 = [11, 22, 33, 44];
let list2 = [];
list1.forEach(
    (item) => {
        item += "miniProgram";
        list2.push(item);
    }
);
let list3 = list1.map(
    (item) => {
        {
            return `${item}+miniProgaming`;
        }
    }
);
console.log(`this is list3:${list3}`);
demoOfForOf = () => {

    /* demo in for */
    console.log(`demo forOf`, `;👌element of the list are expected to print out `);
    for (const item of list1) {
        console.log(item);
    }
};
/* demo of for of  */
console.log(`demo forIn`, `;👌index is expected to be print out.`);
demoOfForIn = () => {

    for (const prop in list1) {
        console.log(prop);
    }
};

console.log(list1, `expected no change in list1`);

console.log(list2, `expected changes`);